home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / mandrake_MDKSA-2003-004.nasl < prev    next >
Text File  |  2005-01-14  |  6KB  |  210 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. # This plugin text was extracted from Mandrake Linux Security Advisory MDKSA-2003:004-1
  5. #
  6.  
  7.  
  8. if ( ! defined_func("bn_random") ) exit(0);
  9. if(description)
  10. {
  11.  script_id(13989);
  12.  script_version ("$Revision: 1.3 $");
  13.  script_cve_id("CAN-2002-1393");
  14.  
  15.  name["english"] = "MDKSA-2003:004-1: kde";
  16.  
  17.  script_name(english:name["english"]);
  18.  
  19.  desc["english"] = "
  20. The remote host is missing the patch for the advisory MDKSA-2003:004-1 (kde).
  21.  
  22.  
  23. Multiple instances of improperly quoted shell command execution exist in KDE 2.x
  24. up to and including KDE 3.0.5. KDE fails to properly quote parameters of
  25. instructions passed to the shell for execution. These parameters may contain
  26. data such as filenames, URLs, email address, and so forth; this data may be
  27. provided remotely to a victim via email, web pages, files on a network
  28. filesystem, or other untrusted sources.
  29. It is possible for arbitrary command execution on a vulnerable system with the
  30. privileges of the victim's account.
  31. The code audit by the KDE team resulted in patches for KDE 2.2.2 and KDE 3;
  32. version 3.0.5a was released and the KDE team encourages the upgrade. The listed
  33. KDE2 packages have the KDE team's patches applied to provide the fixed code.
  34. Update:
  35. The SRPM for the new arts for Mandrake Linux 9.0 was not linked into the updates
  36. tree. This has been corrected.
  37.  
  38.  
  39. Solution : http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:004-1
  40. Risk factor : High";
  41.  
  42.  
  43.  
  44.  script_description(english:desc["english"]);
  45.  
  46.  summary["english"] = "Check for the version of the kde package";
  47.  script_summary(english:summary["english"]);
  48.  
  49.  script_category(ACT_GATHER_INFO);
  50.  
  51.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  52.  family["english"] = "Mandrake Local Security Checks";
  53.  script_family(english:family["english"]);
  54.  
  55.  script_dependencies("ssh_get_info.nasl");
  56.  script_require_keys("Host/Mandrake/rpm-list");
  57.  exit(0);
  58. }
  59.  
  60. include("rpm.inc");
  61. if ( rpm_check( reference:"arts-1.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  62. {
  63.  security_hole(0);
  64.  exit(0);
  65. }
  66. if ( rpm_check( reference:"libarts-1.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  67. {
  68.  security_hole(0);
  69.  exit(0);
  70. }
  71. if ( rpm_check( reference:"libarts-devel-1.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  72. {
  73.  security_hole(0);
  74.  exit(0);
  75. }
  76. if ( rpm_check( reference:"kdeaddons-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  77. {
  78.  security_hole(0);
  79.  exit(0);
  80. }
  81. if ( rpm_check( reference:"kdeadmin-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  82. {
  83.  security_hole(0);
  84.  exit(0);
  85. }
  86. if ( rpm_check( reference:"kdeartwork-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  87. {
  88.  security_hole(0);
  89.  exit(0);
  90. }
  91. if ( rpm_check( reference:"kdebase-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  92. {
  93.  security_hole(0);
  94.  exit(0);
  95. }
  96. if ( rpm_check( reference:"kdebase-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  97. {
  98.  security_hole(0);
  99.  exit(0);
  100. }
  101. if ( rpm_check( reference:"kdebase-nsplugins-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  102. {
  103.  security_hole(0);
  104.  exit(0);
  105. }
  106. if ( rpm_check( reference:"kdeedu-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  107. {
  108.  security_hole(0);
  109.  exit(0);
  110. }
  111. if ( rpm_check( reference:"kdegames-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  112. {
  113.  security_hole(0);
  114.  exit(0);
  115. }
  116. if ( rpm_check( reference:"kdegames-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  117. {
  118.  security_hole(0);
  119.  exit(0);
  120. }
  121. if ( rpm_check( reference:"kdegraphics-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  122. {
  123.  security_hole(0);
  124.  exit(0);
  125. }
  126. if ( rpm_check( reference:"kdegraphics-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  127. {
  128.  security_hole(0);
  129.  exit(0);
  130. }
  131. if ( rpm_check( reference:"kdelibs-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  132. {
  133.  security_hole(0);
  134.  exit(0);
  135. }
  136. if ( rpm_check( reference:"kdelibs-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  137. {
  138.  security_hole(0);
  139.  exit(0);
  140. }
  141. if ( rpm_check( reference:"kdemultimedia-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  142. {
  143.  security_hole(0);
  144.  exit(0);
  145. }
  146. if ( rpm_check( reference:"kdemultimedia-aktion-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  147. {
  148.  security_hole(0);
  149.  exit(0);
  150. }
  151. if ( rpm_check( reference:"kdemultimedia-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  152. {
  153.  security_hole(0);
  154.  exit(0);
  155. }
  156. if ( rpm_check( reference:"kdenetwork-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  157. {
  158.  security_hole(0);
  159.  exit(0);
  160. }
  161. if ( rpm_check( reference:"kdenetwork-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  162. {
  163.  security_hole(0);
  164.  exit(0);
  165. }
  166. if ( rpm_check( reference:"kdepim-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  167. {
  168.  security_hole(0);
  169.  exit(0);
  170. }
  171. if ( rpm_check( reference:"kdepim-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  172. {
  173.  security_hole(0);
  174.  exit(0);
  175. }
  176. if ( rpm_check( reference:"kdesdk-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  177. {
  178.  security_hole(0);
  179.  exit(0);
  180. }
  181. if ( rpm_check( reference:"kdesdk-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  182. {
  183.  security_hole(0);
  184.  exit(0);
  185. }
  186. if ( rpm_check( reference:"kdetoys-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  187. {
  188.  security_hole(0);
  189.  exit(0);
  190. }
  191. if ( rpm_check( reference:"kdetoys-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  192. {
  193.  security_hole(0);
  194.  exit(0);
  195. }
  196. if ( rpm_check( reference:"kdeutils-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  197. {
  198.  security_hole(0);
  199.  exit(0);
  200. }
  201. if ( rpm_check( reference:"kdeutils-devel-3.0.5a-1.1mdk", release:"MDK9.0", yank:"mdk") )
  202. {
  203.  security_hole(0);
  204.  exit(0);
  205. }
  206. if (rpm_exists(rpm:"kde-", release:"MDK9.0") )
  207. {
  208.  set_kb_item(name:"CAN-2002-1393", value:TRUE);
  209. }
  210.